let fs = require("fs");

function add(a, b) {
  let result = a + b;
  fs.writeFileSync("result.txt", result);
  return result;
}

function sub(a, b) {
  return a - b;
}

module.exports = {add : add};
